home *** CD-ROM | disk | FTP | other *** search
/ El Mac 1 / Magazine.iso / EL MAC 1 / Shareware / Applications / directtex Pro 2.0 / DirectTeX.6 / Installer-Files / Tools-Pro / Tools-Pro folder / Debug < prev    next >
Encoding:
Text File  |  1995-03-27  |  635 b   |  27 lines  |  [TEXT/TeX+]

  1. #
  2. # This script will print some debug info.
  3. # Usage: Debug <args>.
  4. #
  5. # Simply put a Debug in front of a command to see
  6. # which parameters the command gets...
  7. #
  8.  
  9. Set ToolName $1
  10. Echo "" > Dev:Console
  11. Echo "Debugging Information:" > Dev:Console
  12. Echo "======================" > Dev:Console
  13. Echo "Tool-Name = "$ToolName > Dev:Console
  14. Shift
  15. Echo "Number of arguments = "$# > Dev:Console
  16. Echo "" > Dev:Console
  17. Echo "List of arguments:" > Dev:Console
  18. Echo "==================" > Dev:Console
  19. For i $* [Echo ∂t“$i” > Dev:Console
  20. Echo "" > Dev:Console
  21.  
  22. #
  23. # Comment out the following line if the command should not be executed...
  24. #
  25.  
  26. $ToolName $*
  27.